import {Menu, MenuType} from "@//components/doc-page-component/menu";


export const menus: Menu[] = [
  {
    name: '综述',
    type: MenuType.title,
  },
  {
    name: '介绍',
    type: MenuType.menu,
    path: '/overview/introduce.entire',
  },
  {
    name: '快速上手',
    type: MenuType.menu,
    path: '/overview/setup.entire',
  },
  {
    name: '自定义主题',
    type: MenuType.menu,
    path: '/overview/theme/index.vue',
  },
  {
    name: '常见问题',
    type: MenuType.menu,
    path: '/overview/issue.entire.full'
  },
  {
    name: '类型声明',
    type: MenuType.menu,
    path: '/overview/typescript.entire'
  },
  {
    name: '基础组件',
    type: MenuType.group,
    menus: [
      {name: 'Icon', tip: '图标', path: '/components/icon',},
      {name: 'Button', tip: '按钮', path: '/components/button',},
      {name: 'Grid', tip: '布局', path: '/components/grid',},
    ]
  },
  {
    name: '表单组件',
    type: MenuType.group,
    menus: [
      {name: 'Input', tip: '文本框', path: '/components/input'},
      {name: 'Radio', tip: '单选按钮', path: '/components/radio'},
      {name: 'Checkbox', tip: '复选框按钮', path: '/components/checkbox',},
      {name: 'Number', tip: '数字输入', path: '/components/number'},
      {name: 'Loading', tip: '加载状态', path: '/components/loading'},

      {name: 'Select', tip: '下拉选择', path: '/components/select'},
      {name: 'Toggle', tip: '开关按钮', path: '/components/toggle'},
      {name: 'Slider', tip: '滑块', path: '/components/slider'},
      {name: 'Tag', tip: '标签', path: '/components/tag'},
      {name: 'Rate', tip: '评分', path: '/components/rate'},
      {name: 'ColorPicker', tip: '颜色选择', path: '/components/color-picker'},

      {name: 'Cascade', tip: '级联选择', path: '/components/cascade'},
      {name: 'Time', tip: '时间选择', path: '/components/time'},
      {name: 'Date', tip: '日期选择', path: '/components/date'},
      {name: 'Upload', tip: '文件上传', path: '/components/upload'},
      {name: 'Img', tip: '图片上传', path: '/components/img'},
    ]
  },
  {
    name: '表单示例',
    type: MenuType.group,
    menus: [
      {name: 'FormBasic', tip: '表单基础', path: '/components/form/basic'},
      {name: 'FormLayout', tip: '多列布局', path: '/components/form/column-layout'},
      {name: 'FormValidate', tip: '表单校验', path: '/components/form/validate'},
      {name: 'FormControl', tip: '禁用控制', path: '/components/form/control'},
      {name: 'FormElement', tip: '表单组件', path: '/components/form/element'},
    ]
  },
  {
    name: '数据视图',
    type: MenuType.group,
    menus: [
      {name: 'List', tip: '列表', path: '/components/view/list'},
      {name: 'VirtualList', tip: '虚拟列表', path: '/components/view/virtual-list'},
      {name: 'Progress', tip: '进度条', path: '/components/view/progress'},
      {name: 'Tree', tip: '树形组件', path: '/components/view/tree'},
      // {name: 'VirtualTree', tip: '虚拟树', path: '/components/view/virtual-tree'},
      {name: 'Pagination', tip: '分页', path: '/components/view/pagination'},
      {name: 'Badge', tip: '标记', path: '/components/view/badge'},
      {name: 'Step', tip: '步骤条', path: '/components/view/step'},
      {name: 'Tab', tip: '页签', path: '/components/view/tab'},
    ]
  },
  {
    name: '导航',
    type: MenuType.group,
    menus: [
      {name: 'NavPages', tip: '页面导航', path: '/components/nav/nav-pages'},
      {name: 'NavTab', tip: '页签导航', path: '/components/nav-tab'},
      {name: 'Nav', tip: '应用导航', path: '/components/nav'},
    ],
  },
  {
    name: '其他',
    type: MenuType.group,
    menus: [
      {name: 'Scroll', tip: '滚动条', path: '/components/other/scroll'},
      {name: 'Dialog', tip: '对话框', path: '/components/other/dialog'},
      {name: 'Tooltip', tip: '文字提示', path: '/components/other/tooltip'},
      {name: 'Dropdown', tip: '悬浮层', path: '/components/other/dropdown'},
      // {name: 'Popover', tip: '弹出框', path: '/components/other/popover'},
      {name: 'Popper', tip: '悬浮框', path: '/components/other/popper'},
      {name: 'Card', tip: '卡片', path: '/components/other/card'},
      {name: 'Carousel', tip: '轮播', path: '/components/other/carousel'},
      {name: 'Collapse', tip: '折叠面板', path: '/components/other/collapse'},
      {name: 'Alert', tip: '提示信息', path: '/components/other/alert'},
      // {name: 'Portal', tip: '迁移DOM元素', path: '/components/other/portal'},
      // {name: 'Triangle', tip: '三角形元素', path: '/components/other/triangle'},
      // {name: 'FilletCorner', tip: '圆角', path: '/components/other/fillet-corner'},
      // {name: 'TabHeader', tip: '页签头组件', path: '/components/other/tab-header'},
    ]
  },
  {
    name: '服务',
    type: MenuType.group,
    menus: [
      {name: '$message', tip: '消息服务', path: '/components/service/$message'},
      // {name: '$select', tip: '选择服务', path: '/components/service/$message'},
      {name: '$dialog', tip: '对话框服务', path: '/components/service/$dialog'},
      {name: '$notice', tip: '通知', path: '/components/service/$notice'},
      {name: '$file', tip: '文件服务', path: '/components/service/$file'},
    ]
  },
  {
    name: '表格',
    type: MenuType.group,
    menus: [
      {name: 'Virtual', tip: '基础虚拟表格', path: '/components/table/virtual-table'},
      {name: 'Basic', tip: '基础表格', path: '/components/table/table'},
      {name: 'Config', tip: '自定义配置', path: '/components/table/config'},
      {name: 'Fixed', tip: '固定头和列', path: '/components/table/fixed'},
      {name: 'Slot', tip: '列插槽', path: '/components/table/scoped-slot'},
      {name: 'Edit', tip: '行内编辑', path: '/components/table/edit'},
      {name: 'Plc', tip: '列组件', path: '/components/table/plc'},
      {name: 'Expand', tip: '展开列', path: '/components/table/expand'},
      {name: 'Span', tip: '合并单元格', path: '/components/table/span'},
      {name: 'Tree', tip: '树形表格', path: '/components/table/tree'},
      {name: 'RowDraggable', tip: '行拖拽排序', path: '/components/table/row-draggable'},
      {name: 'ColDraggable', tip: '列拖拽排序', path: '/components/table/col-draggable'},
      {name: 'CellStyle', tip: '行列样式', path: '/components/table/class-style'},
    ]
  },
  /*{
      name: '示例',
      type: MenuType.group,
      menus: [
          {name: '双向绑定', path: '/components/demo/demo'}
      ],
  },*/
]
